<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div class="user-box">
                      <label>姓名：</label>
                      <span>{$username}</span>
                      <label>时间：</label>
                      <span>{$year}年{$month}月</span>
                    </div>
                    <form class="ev-box" id="ping-box" >
                      <label class="ev-title">评语：</label>
                      {if condition="($is_self == 1) OR ($is_open == 0) "} 
                         <textarea  data-ids="{$ids}" disabled="disabled" name="" class="ev-content" value="" data-rule="" rows="5">{$superior_content} </textarea>
                      {else /}
                        <textarea  data-ids="{$ids}" name="content" class="ev-content" class="ev-content" data-rule="required" value="" rows="5">{$superior_content}</textarea>
                        
                        <button class="btn btn-primary btn-save-ev" id="save-content">保存</button>
                      {/if}
                       
                      <span role="alert" id="error-alert" class="msg-wrap n-error hidden class-msg"><span class="icon n-icon"></span><span class="n-msg">评论不能为空</span></span>
                    </form>
                    <table id="table" class="table table-striped table-bordered table-hover" 
                           data-operate-edit="{:$auth->check('performance/evaluation/edit')}" 
                           data-operate-del="{:$auth->check('performance/evaluation/del')}" 
                           width="100%" data-admin-id="{$admin_id}" data-is-open="{$is_open}" data-is-self="{$is_self}">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>




